package com.wbao.dianniu.ui;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.umeng.analytics.MobclickAgent;
import com.wbao.dianniu.R;

/**
 * 我的二维码
 * 
 * @author yejianjun
 *
 */
public class MyQRActivity extends BaseActivity {

	private Button shareBtn;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentLayout(R.layout.my_qr_code);
		setTitleName("我的二维码");
		shareBtn = getRightTextButton();
		shareBtn.setText("分享");
		shareBtn.setOnClickListener(this);
		
	}

	@Override
	public void onClick(View v) {
		super.onClick(v);
		switch (v.getId()) {
		case R.id.right_button:
			// 弹出分享界面
			
			break;

		default:
			break;
		}
		
	}
	public void onResume() {
		super.onResume();
		MobclickAgent.onResume(this);
		}
		public void onPause() {
		super.onPause();
		MobclickAgent.onPause(this);
		}
}
